package ${baseInfo.packageName};

import ${serviceInterface.packageName}.${serviceInterface.fileName};
import ${mapperInterface.packageName}.${mapperInterface.fileName};
<#if baseService??&&baseService!="">
import ${baseService};
    <#list baseService?split(".") as simpleName>
        <#if !simpleName_has_next>
            <#assign serviceSimpleName>${simpleName}</#assign>
        </#if>
    </#list>
</#if>
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 李皓
 * @description 针对表【${tableClass.tableName}<#if tableClass.remark?has_content>(${tableClass.remark!})</#if>】的数据库操作Service实现
 * @createDate ${.now?string('yyyy-MM-dd HH:mm:ss')}
 */
@Service("${serviceInterface.fileName?uncap_first}")
@Transactional
public class ${baseInfo.fileName} implements ${serviceInterface.fileName} {

    /**
     * 针对表【${tableClass.tableName}<#if tableClass.remark?has_content>(${tableClass.remark!})</#if>】的数据库操作Mapper
     */
    @Autowired
    private ${mapperInterface.fileName} ${mapperInterface.fileName?uncap_first};
}




